<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="/WEB-INF/c.tld" %>
<%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld" %>
<form action="${contextPath }/admin/newsimage/delete.do" method="post">
<table width="100%">
	<tbody>
		<tr>
			<td><input type='checkbox' name="check"/></td><td>编号</td><td>标题</td><td>操作</td>
		</tr>
		<c:if test="${obj!=null}">
			<c:forEach items="${obj}" var="o">
				<tr>
					<td><input value="${o.id }" name="ids" type="checkbox"/></td>
					<td>${o.id}</td>
					<td>${o.title}</td>
					<td><a href="${contextPath}/admin/newsimage/preupdate.do?id=${o.id}">编辑</a></td>
				</tr>				
			</c:forEach>
			<tr>
			<td colspan="4"><input type='submit' value="删除图片"/></td>
			</tr>
		</c:if>
	</tbody>
</table>
</form>
